package fatecpg.com.br.japassei.bd;


public class Disciplina{
	private int cdDisciplina;
	private String nmDisciplina;
	private String dsDisciplina;
	private Nota nota;

    public Disciplina(int cdDisciplina, String nmDisciplina, String dsDisciplina, Float qtProva1, Float qtProva2, Float qtTrabPratico) {
        this.cdDisciplina = cdDisciplina;
        this.nmDisciplina = nmDisciplina;
        this.dsDisciplina = dsDisciplina;
        this.nota = new Nota(qtProva1, qtProva2, qtTrabPratico);
    }

    public Disciplina(int cdDisciplina, String nmDisciplina, String dsDisciplina, Nota nota) {
        this.cdDisciplina = cdDisciplina;
        this.nmDisciplina = nmDisciplina;
        this.dsDisciplina = dsDisciplina;
        this.nota = nota;
    }

    public Disciplina(String nmDisciplina, String dsDisciplina) {
        this.nmDisciplina = nmDisciplina;
        this.dsDisciplina = dsDisciplina;
    }

    public Disciplina(int cdDisciplina, String nmDisciplina, String dsDisciplina) {
        this.cdDisciplina = cdDisciplina;
        this.nmDisciplina = nmDisciplina;
        this.dsDisciplina = dsDisciplina;
    }

    public int getCdDisciplina() {
        return cdDisciplina;
    }

    public void setCdDisciplina(int cdDisciplina) {
        this.cdDisciplina = cdDisciplina;
    }

    public String getNmDisciplina() {
        return nmDisciplina;
    }

    public void setNmDisciplina(String nmDisciplina) {
        this.nmDisciplina = nmDisciplina;
    }

    public String getDsDisciplina() {
        return dsDisciplina;
    }

    public void setDsDisciplina(String dsDisciplina) {
        this.dsDisciplina = dsDisciplina;
    }

    public Nota getNota() {
        return nota;
    }

    public void setNota(Nota nota) {
        this.nota = nota;
    }
}